#ifndef _RnD_GameEngine_h_
#define _RnD_GameEngine_h_

#include <irrlicht.h>
#include <iostream>
#include <string>
#include <fstream>

using namespace irr;

class GameEngine{
	private:
		IrrlichtDevice *device;
		IVideoDriver* driver;
		ISceneManager* smgr;
		IGUIEnvironment* guienv;
	
		string name;
		int width;
		int height;
		int colorDepth
		std::string settingsFile;
		int errors;
		
		int initialise();
		int clean();
	public:
		GameEngine(std::string name, int width, int height);
		GameEngine(std::string name, int width, int height, int colorDepth);
				
		int start();
		int loadMap();
};
#endif
